<%@ page contentType="text/html;charset=UTF-8" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
	<style type="text/css">
		body {font-size:12px;}
	 	.tableList {
			background-color:#FFFFFF;
			border:1px solid #3BAAE3; 
			border-collapse:collapse;         
		}
		
		.tableList tr td{
			height:25px;
			border:1px solid #3BAAE3;   
		    border-collapse:collapse; 
		}
		a{text-decoration: none;cursor: pointer;}
		a:link {color: black}		/* 未访问的链接 */
		a:visited {color: black;}	/* 已访问的链接 */
		a:hover {color: black}	/* 鼠标移动到链接上 */
		a:active {color: black}	/* 选定的链接 */
 	</style> 
</head>
  <body>
  <div class="easyui-panel" data-options="fit:true,title:'欢迎来到管理页面'">
  	<p></p>
  	<div align="center">
  	<p>&nbsp;</p><p>&nbsp;</p>
	<table class="tableList" width="50%" cellpadding="0" cellspacing="0">
		<tr>
			<td align="center" style="font-weight: bold;" colspan="2">
				服务器信息
			</td>
		</tr>
		<tr>
			<td align="right" width="40%">
				服务器OS:
			</td>
			<td align="center">
				<%
				 String os = System.getProperty("os.name");
				out.print(os);
				%>
			</td>
		</tr>
		<tr>
			<td align="right" width="40%">
				服务器版本:
			</td>
			<td align="center" width="60%">
				<%
				 String osVersion = System.getProperty("os.version");
				out.print(osVersion);
				%>
			</td>
		</tr>
		<tr>
			<td align="right" width="40%">
				服务器当前用户:
			</td>
			<td align="center" width="60%">
				<%
				String osUser=System.getProperty("user.name");  
				out.print(osUser);
				%>
			</td>
		</tr>
		<tr>
			<td align="right" width="40%">
				Java 运行时环境版本:
			</td>
			<td align="center" width="60%">
				<%
				String javaVersion=System.getProperty("java.version");  
				out.print(javaVersion);
				%>
			</td>
		</tr>
		<tr>
			<td align="right" width="40%">
				本机IP及端口号:
			</td>
			<td align="center" width="60%">
				<%
				out.print(request.getLocalAddr()+":");
				
				out.print(request.getLocalPort());
				%>
			</td>
		</tr>
		<tr>
			<td align="right" width="40%">
				Servlet容器:
			</td>
			<td align="center" width="60%">
				<%
				out.print(application.getServerInfo());
				%>
			</td>
		</tr>
	</table>
	</div>    
  </body>
</html>
